<%@ include file="../common.jsp" %>

<script type="text/javascript">
	$(document).ready(function(){
		setWorkFlowURL('<c:out value="${flowExecutionUrl}" />');
	});
</script>
<form:form id="docAttrDTO" action="${flowExecutionUrl}">

	<table>
		<c:forEach items="${docDetailList}" var="docDetailItem">
			<tr>	
				<td><c:out value="${docDetailItem.doc_id}"></c:out></td>
				<td><c:out value="${docDetailItem.attachStatus}"></c:out></td>
				<td><c:out value="${docDetailItem.attach}"></c:out></td>
			</tr>
		</c:forEach>
	</table>

	<table>
		<tr>
		  <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" value="View Upload Doc"></td>
		</tr>
		<tr>
			<td><input type="text" value="" name="remarks" id="remarks"/> </td>
			<td><input type="button" value="Submit" 
				onclick="javascript:workFlowDetail('docAttrDTO','submit');"/>
			</td>
			<td><input type="button" value="Reject" 
				onclick="javascript:workFlowDetail('docAttrDTO','reject');"/>
			</td>
			<td><input type="button" value="Back" 
				onclick="javascript:workFlowDetail('docAttrDTO','back');"/>
			</td>
			
		</tr>
	</table>					
</form:form>